
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<{include file="site/passport/login.html"}>
</td>
<td width="30%">
<input type='hidden' name='from_minipassport' value='1' >
  <div class="RegisterWrap" style="margin-top:20px;*margin-top:22px">
      <div class="form" style="height:178px;*height:172px" >
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
            <!--<td colspan="2"><h4><{t}>已注册用户，请登录<{/t}></h4></td>-->
            <td class='row-span' rowspan='<{if $valideCode}>5<{else}>4<{/if}>'>
               <div class='span-auto' style='width:160px; text-align:left;'><h4 style="padding-top:0;"><{t}>还不是会员?<{/t}></h4></div>
               <ul class="list fast-login">
                 <li style="border:none"><span><{t}>没有账号？<{/t}></span><a href='<{link app=b2c ctl="site_passport" act="signup"  }>' class="actbtn btn-newregister"><{t}>立即注册<{/t}></a></li>
                 <{if $guest_enabled=='true'}>  <!--非会员购买-->
                 <li style="border:none"><span><{t}>您还可以...<{/t}></span><a class="actbtn btn-buynow" href="<{link app=b2c ctl=site_cart act=checkout}>" onclick="Cookie.write('S[ST_ShopEx-Anonymity-Buy]','true',{path:'<{$base_path}>/'});if ($(this).getParent('.dialog')){$(this).getParent('.dialog').retrieve('chain',$empty)();return false;}" ><{t}>无需注册直接快读购买<{/t}></a></li>
                 <{/if}>
               <ul>
            </td>
         </tr>
        </table>
     </div>
  </div>
</td></tr></table>
<{if $valideCode}>
<script>
   void function(formclz){
         var vcodeBox = $E('.'+formclz+' .verifyCode');
         var vcodeImg  =vcodeBox.getElement('img');
         var refreshVcodeBtn  = vcodeBox.getElement('a').addEvent('click',function(e){
              e.stop();
              vcodeImg.src = vcodeImg.get('codesrc')+'?'+$time();
         });
         $$('.'+formclz+' input').addEvent('focus',function(){
             if (this.form.retrieve('showvcode',false))return;
             vcodeBox.show();
             refreshVcodeBtn.fireEvent('click',{stop:$empty});
             this.form.store('showvcode',true);
         });
   
   }('mini-loginbuyform');
</script>
<{/if}>

